package com.yc.star.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 队伍
 * </p>
 *
 * @author ljl
 * @since 2024-07-15
 */
@TableName("s_team")
public class Team implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 队伍名称
     */
      private String name;

      /**
     * 描述
     */
      private String description;

      /**
     * 最大人数
     */
      private Integer maxNum;

      /**
     * 过期时间
     */
      private LocalDateTime expireTime;

      /**
     * 用户id（队长 id）
     */
      private Long userid;

      /**
     * 0 - 公开，1 - 私有，2 - 加密
     */
      private Integer status;

      /**
     * 密码
     */
      private String password;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

    private LocalDateTime updateTime;

      /**
     * 是否删除
     */
      private Byte isdelete;

      /**
     * 队伍图像
     */
      private String image;
    
    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getDescription() {
        return description;
    }

      public void setDescription(String description) {
          this.description = description;
      }
    
    public Integer getMaxNum() {
        return maxNum;
    }

      public void setMaxNum(Integer maxNum) {
          this.maxNum = maxNum;
      }
    
    public LocalDateTime getExpireTime() {
        return expireTime;
    }

      public void setExpireTime(LocalDateTime expireTime) {
          this.expireTime = expireTime;
      }
    
    public Long getUserid() {
        return userid;
    }

      public void setUserid(Long userid) {
          this.userid = userid;
      }
    
    public Integer getStatus() {
        return status;
    }

      public void setStatus(Integer status) {
          this.status = status;
      }
    
    public String getPassword() {
        return password;
    }

      public void setPassword(String password) {
          this.password = password;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
    
    public Byte getIsdelete() {
        return isdelete;
    }

      public void setIsdelete(Byte isdelete) {
          this.isdelete = isdelete;
      }
    
    public String getImage() {
        return image;
    }

      public void setImage(String image) {
          this.image = image;
      }

    @Override
    public String toString() {
        return "Team{" +
              "id = " + id +
                  ", name = " + name +
                  ", description = " + description +
                  ", maxNum = " + maxNum +
                  ", expireTime = " + expireTime +
                  ", userid = " + userid +
                  ", status = " + status +
                  ", password = " + password +
                  ", createTime = " + createTime +
                  ", updateTime = " + updateTime +
                  ", isdelete = " + isdelete +
                  ", image = " + image +
              "}";
    }
}
